MailjetPlugin\Widget\WP_Mailjet_Subscribe_Widget D

Total Complexity 169
Dependencies 9
Dependents 0
Total lines 1,056
Lines of code 814
Logical lines of code 362
Comment lines 105
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
checkTransition()
D
18
33 332
sendSubscriptionEmail()
D
27
43 128
update()
C
38 30 55
activateConfirmSubscriptionUrl()
C
32 25 100
form()
A
47 8 35
getInputProperties()
A
48 7 35
widget()
S
53 5 23
__construct()
S
53 2 22
getMailjetContactProperties()
S
65 3 10
wp_ajax_mailjet_add_contact_property()
S
65 3 8
registerCustomLanguageTranslations()
S
57 1 18
getUpdateArrayKeysPairs()
S
56 1 18
getSubscriptionOptionsSettings()
S
72 2 6
get_widget_slug()
S
82 1 3
flush_widget_cache()
S
80 1 3
widget_textdomain()
S
73 1 4
register_widget_front_styles()
S
77 1 3
register_widget_scripts()
S
73 1 4
register_widget_front_scripts()
S
66 1 7